package org.metasketch.editor.links;

import org.metasketch.diagram.javafx.graphics.DefaultLink;

public class LinkRegistration {

	DefaultLink link;
	LinkEndOrientation orientation;
	boolean start;

	public LinkRegistration(DefaultLink link, LinkEndOrientation orientation,
			boolean start) {
		this.link = link;
		this.orientation = orientation;
		this.start = start;
	}

	public LinkRegistration() {

	}

	public DefaultLink getLink() {
		return link;
	}

	public void setLink(DefaultLink link) {
		this.link = link;
	}

	public LinkEndOrientation getOrientation() {
		return orientation;
	}

	public void setOrientation(LinkEndOrientation orientation) {
		this.orientation = orientation;
	}

	public boolean isStart() {
		return start;
	}

	public void setStart(boolean start) {
		this.start = start;
	}

}
